package com.example.demowebtwo.controller;

import com.example.demowebtwo.client.IHelloClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * describe:
 *
 * @author helloworldyu
 * @date 2018/6/12
 */

@RestController
public class HelloController {
	@Autowired
	IHelloClient iHelloClient;

	@RequestMapping("/hello")
	String hello(){
		return iHelloClient.hello();
	}
}